package com.longxiao.vo;

/**
 * Created by yusong on 2017/5/3.
 * 登录请求
 */
public class LoginVo {
    //手机号
    private String mobile;
    //邮箱
    private String email;
    //密码
    private String password;
    //验证码
    private String validCode;

    public LoginVo() {

    }

    public LoginVo(String mobile, String email, String password, String validCode) {
        this.mobile = mobile;
        this.email = email;
        this.password = password;
        this.validCode = validCode;
    }

    @Override
    public String toString() {
        return "LoginVo{" +
                "mobile='" + mobile + '\'' +
                ", email='" + email + '\'' +
                ", password='" + password.substring(0, 3) + "***" + '\'' +
                ", validCode='" + validCode + '\'' +
                '}';
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }
}
